package com.sinosoft.antiques.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import com.sinosoft.commontools.record.Record;

public class RootService extends BasicService {

	public static Record getUserBasicInfo(HttpServletRequest request) {
		Record userInfo = new Record();
		HttpSession session = request.getSession();
		userInfo.add("userid", session.getAttribute("userid"));
		userInfo.add("username", session.getAttribute("username"));
		return userInfo;
	}

}
